package neu.soft.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OutOrderMapper {
    /**
     * 添加一条出库单
     * @author zhh
     * @param map
     */
    void addOutOrder(Map<String,Object> map);

    /**
     * 根据所给条件查询出库单
     * @author zhh
     * @param map
     * @return
     */
    List<Map<String,Object>> queryOutOrder(Map<String,Object> map);

    List<Map<String,Object>> queryOutOrderById(String outOrderId);

    Long getOutOrderRows(Map<String,Object> map);

    int existOutOrder(String outOrder);
    List<Map<String,Object>> queryMingXi(Map<String,Object> map);
}
